/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mapfinal.server.auth.model;

import com.lambkit.db.sql.ConditionMode;
import com.lambkit.db.sql.column.Column;
import com.lambkit.db.sql.column.Columns;
import com.lambkit.db.sql.column.Example;

import java.io.Serializable;
import java.util.List;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2020-09-25
 * @version 1.0
 * @since 1.0
 */
public class AuthOrganizationCriteria extends Columns implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static AuthOrganizationCriteria create() {
		return new AuthOrganizationCriteria();
	}
	
	public static AuthOrganizationCriteria create(Column column) {
		AuthOrganizationCriteria that = new AuthOrganizationCriteria();
		that.add(column);
        return that;
    }

    public static AuthOrganizationCriteria create(String name, Object value) {
        return (AuthOrganizationCriteria) create().eq(name, value);
    }
    
    public Example example() {
    	return Example.create("lk_auth_organization", this);
    }
    
    /**
     * equals
     *
     * @param name
     * @param value
     * @return
     */
    public AuthOrganizationCriteria eq(String name, Object value) {
    	super.eq(name, value);
        return this;
    }

    /**
     * not equals !=
     *
     * @param name
     * @param value
     * @return
     */
    public AuthOrganizationCriteria ne(String name, Object value) {
    	super.ne(name, value);
        return this;
    }


    /**
     * like
     *
     * @param name
     * @param value
     * @return
     */

    public AuthOrganizationCriteria like(String name, Object value) {
    	super.like(name, value);
        return this;
    }
    
    public AuthOrganizationCriteria notLike(String name, Object value) {
    	super.notLike(name, value);
        return this;
    }

    /**
     * 大于 great than
     *
     * @param name
     * @param value
     * @return
     */
    public AuthOrganizationCriteria gt(String name, Object value) {
    	super.gt(name, value);
        return this;
    }

    /**
     * 大于等于 great or equal
     *
     * @param name
     * @param value
     * @return
     */
    public AuthOrganizationCriteria ge(String name, Object value) {
    	super.ge(name, value);
        return this;
    }

    /**
     * 小于 less than
     *
     * @param name
     * @param value
     * @return
     */
    public AuthOrganizationCriteria lt(String name, Object value) {
    	super.lt(name, value);
        return this;
    }

    /**
     * 小于等于 less or equal
     *
     * @param name
     * @param value
     * @return
     */
    public AuthOrganizationCriteria le(String name, Object value) {
    	super.le(name, value);
        return this;
    }
    
    public AuthOrganizationCriteria isnull(String name) {
    	super.isnull(name);
        return this;
    } 

    public AuthOrganizationCriteria notNull(String name) {
    	super.notNull(name);
        return this;
    } 
    
    public AuthOrganizationCriteria empty(String name) {
    	super.empty(name);
        return this;
    } 
    
    public AuthOrganizationCriteria notEmpty(String name) {
    	super.notEmpty(name);
        return this;
    } 
    
    public AuthOrganizationCriteria add(Column column) {
    	super.add(column);
    	return this;
    }
    
    /**************************/
	
	public void addCriterion(String name, Object value, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value == null) {
			 throw new RuntimeException("Value for " + property + " cannot be null");
		 }
		 add(Column.create(name, value, logic, typeHandler, valueType));
	}
   
	public void addCriterion(String name, Object value1, Object value2, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value1 == null || value2 == null) {
			 throw new RuntimeException("Between values for " + property + " cannot be null");
		 }
		 add(Column.create(name, value1, value2, logic, typeHandler, valueType));
	}
		 
	public AuthOrganizationCriteria andIdIsNull() {
		isnull("id");
		return this;
	}
	
	public AuthOrganizationCriteria andIdIsNotNull() {
		notNull("id");
		return this;
	}
	
	public AuthOrganizationCriteria andIdIsEmpty() {
		empty("id");
		return this;
	}

	public AuthOrganizationCriteria andIdIsNotEmpty() {
		notEmpty("id");
		return this;
	}
       public AuthOrganizationCriteria andIdEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andIdNotEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.NOT_EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andIdGreaterThan(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.GREATER_THEN, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andIdGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.GREATER_EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andIdLessThan(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.LESS_THEN, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andIdLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.LESS_EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andIdBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("id", value1, value2, ConditionMode.BETWEEN, "id", "java.lang.Integer", "Float");
    	  return this;
      }

      public AuthOrganizationCriteria andIdNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("id", value1, value2, ConditionMode.NOT_BETWEEN, "id", "java.lang.Integer", "Float");
          return this;
      }
        
      public AuthOrganizationCriteria andIdIn(List<java.lang.Integer> values) {
          addCriterion("id", values, ConditionMode.IN, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andIdNotIn(List<java.lang.Integer> values) {
          addCriterion("id", values, ConditionMode.NOT_IN, "id", "java.lang.Integer", "Float");
          return this;
      }
	public AuthOrganizationCriteria andPidIsNull() {
		isnull("pid");
		return this;
	}
	
	public AuthOrganizationCriteria andPidIsNotNull() {
		notNull("pid");
		return this;
	}
	
	public AuthOrganizationCriteria andPidIsEmpty() {
		empty("pid");
		return this;
	}

	public AuthOrganizationCriteria andPidIsNotEmpty() {
		notEmpty("pid");
		return this;
	}
       public AuthOrganizationCriteria andPidEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andPidNotEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.NOT_EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andPidGreaterThan(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.GREATER_THEN, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andPidGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.GREATER_EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andPidLessThan(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.LESS_THEN, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andPidLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.LESS_EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andPidBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("pid", value1, value2, ConditionMode.BETWEEN, "pid", "java.lang.Integer", "Float");
    	  return this;
      }

      public AuthOrganizationCriteria andPidNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("pid", value1, value2, ConditionMode.NOT_BETWEEN, "pid", "java.lang.Integer", "Float");
          return this;
      }
        
      public AuthOrganizationCriteria andPidIn(List<java.lang.Integer> values) {
          addCriterion("pid", values, ConditionMode.IN, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andPidNotIn(List<java.lang.Integer> values) {
          addCriterion("pid", values, ConditionMode.NOT_IN, "pid", "java.lang.Integer", "Float");
          return this;
      }
	public AuthOrganizationCriteria andNameIsNull() {
		isnull("name");
		return this;
	}
	
	public AuthOrganizationCriteria andNameIsNotNull() {
		notNull("name");
		return this;
	}
	
	public AuthOrganizationCriteria andNameIsEmpty() {
		empty("name");
		return this;
	}

	public AuthOrganizationCriteria andNameIsNotEmpty() {
		notEmpty("name");
		return this;
	}
        public AuthOrganizationCriteria andNameLike(java.lang.String value) {
    	   addCriterion("name", value, ConditionMode.FUZZY, "name", "java.lang.String", "Float");
    	   return this;
      }

      public AuthOrganizationCriteria andNameNotLike(java.lang.String value) {
          addCriterion("name", value, ConditionMode.NOT_FUZZY, "name", "java.lang.String", "Float");
          return this;
      }
      public AuthOrganizationCriteria andNameEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andNameNotEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.NOT_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andNameGreaterThan(java.lang.String value) {
          addCriterion("name", value, ConditionMode.GREATER_THEN, "name", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andNameGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.GREATER_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andNameLessThan(java.lang.String value) {
          addCriterion("name", value, ConditionMode.LESS_THEN, "name", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andNameLessThanOrEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.LESS_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andNameBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("name", value1, value2, ConditionMode.BETWEEN, "name", "java.lang.String", "String");
    	  return this;
      }

      public AuthOrganizationCriteria andNameNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("name", value1, value2, ConditionMode.NOT_BETWEEN, "name", "java.lang.String", "String");
          return this;
      }
        
      public AuthOrganizationCriteria andNameIn(List<java.lang.String> values) {
          addCriterion("name", values, ConditionMode.IN, "name", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andNameNotIn(List<java.lang.String> values) {
          addCriterion("name", values, ConditionMode.NOT_IN, "name", "java.lang.String", "String");
          return this;
      }
	public AuthOrganizationCriteria andDescriptionIsNull() {
		isnull("description");
		return this;
	}
	
	public AuthOrganizationCriteria andDescriptionIsNotNull() {
		notNull("description");
		return this;
	}
	
	public AuthOrganizationCriteria andDescriptionIsEmpty() {
		empty("description");
		return this;
	}

	public AuthOrganizationCriteria andDescriptionIsNotEmpty() {
		notEmpty("description");
		return this;
	}
        public AuthOrganizationCriteria andDescriptionLike(java.lang.String value) {
    	   addCriterion("description", value, ConditionMode.FUZZY, "description", "java.lang.String", "String");
    	   return this;
      }

      public AuthOrganizationCriteria andDescriptionNotLike(java.lang.String value) {
          addCriterion("description", value, ConditionMode.NOT_FUZZY, "description", "java.lang.String", "String");
          return this;
      }
      public AuthOrganizationCriteria andDescriptionEqualTo(java.lang.String value) {
          addCriterion("description", value, ConditionMode.EQUAL, "description", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andDescriptionNotEqualTo(java.lang.String value) {
          addCriterion("description", value, ConditionMode.NOT_EQUAL, "description", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andDescriptionGreaterThan(java.lang.String value) {
          addCriterion("description", value, ConditionMode.GREATER_THEN, "description", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andDescriptionGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("description", value, ConditionMode.GREATER_EQUAL, "description", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andDescriptionLessThan(java.lang.String value) {
          addCriterion("description", value, ConditionMode.LESS_THEN, "description", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andDescriptionLessThanOrEqualTo(java.lang.String value) {
          addCriterion("description", value, ConditionMode.LESS_EQUAL, "description", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andDescriptionBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("description", value1, value2, ConditionMode.BETWEEN, "description", "java.lang.String", "String");
    	  return this;
      }

      public AuthOrganizationCriteria andDescriptionNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("description", value1, value2, ConditionMode.NOT_BETWEEN, "description", "java.lang.String", "String");
          return this;
      }
        
      public AuthOrganizationCriteria andDescriptionIn(List<java.lang.String> values) {
          addCriterion("description", values, ConditionMode.IN, "description", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andDescriptionNotIn(List<java.lang.String> values) {
          addCriterion("description", values, ConditionMode.NOT_IN, "description", "java.lang.String", "String");
          return this;
      }
	public AuthOrganizationCriteria andCreateTimeIsNull() {
		isnull("create_time");
		return this;
	}
	
	public AuthOrganizationCriteria andCreateTimeIsNotNull() {
		notNull("create_time");
		return this;
	}
	
	public AuthOrganizationCriteria andCreateTimeIsEmpty() {
		empty("create_time");
		return this;
	}

	public AuthOrganizationCriteria andCreateTimeIsNotEmpty() {
		notEmpty("create_time");
		return this;
	}
       public AuthOrganizationCriteria andCreateTimeEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public AuthOrganizationCriteria andCreateTimeNotEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.NOT_EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public AuthOrganizationCriteria andCreateTimeGreaterThan(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.GREATER_THEN, "createTime", "java.util.Date", "String");
          return this;
      }

      public AuthOrganizationCriteria andCreateTimeGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.GREATER_EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public AuthOrganizationCriteria andCreateTimeLessThan(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.LESS_THEN, "createTime", "java.util.Date", "String");
          return this;
      }

      public AuthOrganizationCriteria andCreateTimeLessThanOrEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.LESS_EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public AuthOrganizationCriteria andCreateTimeBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("create_time", value1, value2, ConditionMode.BETWEEN, "createTime", "java.util.Date", "String");
    	  return this;
      }

      public AuthOrganizationCriteria andCreateTimeNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("create_time", value1, value2, ConditionMode.NOT_BETWEEN, "createTime", "java.util.Date", "String");
          return this;
      }
        
      public AuthOrganizationCriteria andCreateTimeIn(List<java.util.Date> values) {
          addCriterion("create_time", values, ConditionMode.IN, "createTime", "java.util.Date", "String");
          return this;
      }

      public AuthOrganizationCriteria andCreateTimeNotIn(List<java.util.Date> values) {
          addCriterion("create_time", values, ConditionMode.NOT_IN, "createTime", "java.util.Date", "String");
          return this;
      }
	public AuthOrganizationCriteria andStatusIsNull() {
		isnull("status");
		return this;
	}
	
	public AuthOrganizationCriteria andStatusIsNotNull() {
		notNull("status");
		return this;
	}
	
	public AuthOrganizationCriteria andStatusIsEmpty() {
		empty("status");
		return this;
	}

	public AuthOrganizationCriteria andStatusIsNotEmpty() {
		notEmpty("status");
		return this;
	}
       public AuthOrganizationCriteria andStatusEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andStatusNotEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.NOT_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andStatusGreaterThan(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.GREATER_THEN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andStatusGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.GREATER_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andStatusLessThan(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.LESS_THEN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andStatusLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.LESS_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andStatusBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("status", value1, value2, ConditionMode.BETWEEN, "status", "java.lang.Integer", "Float");
    	  return this;
      }

      public AuthOrganizationCriteria andStatusNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("status", value1, value2, ConditionMode.NOT_BETWEEN, "status", "java.lang.Integer", "Float");
          return this;
      }
        
      public AuthOrganizationCriteria andStatusIn(List<java.lang.Integer> values) {
          addCriterion("status", values, ConditionMode.IN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthOrganizationCriteria andStatusNotIn(List<java.lang.Integer> values) {
          addCriterion("status", values, ConditionMode.NOT_IN, "status", "java.lang.Integer", "Float");
          return this;
      }
	public AuthOrganizationCriteria andCodeIsNull() {
		isnull("code");
		return this;
	}
	
	public AuthOrganizationCriteria andCodeIsNotNull() {
		notNull("code");
		return this;
	}
	
	public AuthOrganizationCriteria andCodeIsEmpty() {
		empty("code");
		return this;
	}

	public AuthOrganizationCriteria andCodeIsNotEmpty() {
		notEmpty("code");
		return this;
	}
        public AuthOrganizationCriteria andCodeLike(java.lang.String value) {
    	   addCriterion("code", value, ConditionMode.FUZZY, "code", "java.lang.String", "Float");
    	   return this;
      }

      public AuthOrganizationCriteria andCodeNotLike(java.lang.String value) {
          addCriterion("code", value, ConditionMode.NOT_FUZZY, "code", "java.lang.String", "Float");
          return this;
      }
      public AuthOrganizationCriteria andCodeEqualTo(java.lang.String value) {
          addCriterion("code", value, ConditionMode.EQUAL, "code", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andCodeNotEqualTo(java.lang.String value) {
          addCriterion("code", value, ConditionMode.NOT_EQUAL, "code", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andCodeGreaterThan(java.lang.String value) {
          addCriterion("code", value, ConditionMode.GREATER_THEN, "code", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andCodeGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("code", value, ConditionMode.GREATER_EQUAL, "code", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andCodeLessThan(java.lang.String value) {
          addCriterion("code", value, ConditionMode.LESS_THEN, "code", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andCodeLessThanOrEqualTo(java.lang.String value) {
          addCriterion("code", value, ConditionMode.LESS_EQUAL, "code", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andCodeBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("code", value1, value2, ConditionMode.BETWEEN, "code", "java.lang.String", "String");
    	  return this;
      }

      public AuthOrganizationCriteria andCodeNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("code", value1, value2, ConditionMode.NOT_BETWEEN, "code", "java.lang.String", "String");
          return this;
      }
        
      public AuthOrganizationCriteria andCodeIn(List<java.lang.String> values) {
          addCriterion("code", values, ConditionMode.IN, "code", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andCodeNotIn(List<java.lang.String> values) {
          addCriterion("code", values, ConditionMode.NOT_IN, "code", "java.lang.String", "String");
          return this;
      }
	public AuthOrganizationCriteria andMapcodeIsNull() {
		isnull("mapcode");
		return this;
	}
	
	public AuthOrganizationCriteria andMapcodeIsNotNull() {
		notNull("mapcode");
		return this;
	}
	
	public AuthOrganizationCriteria andMapcodeIsEmpty() {
		empty("mapcode");
		return this;
	}

	public AuthOrganizationCriteria andMapcodeIsNotEmpty() {
		notEmpty("mapcode");
		return this;
	}
        public AuthOrganizationCriteria andMapcodeLike(java.lang.String value) {
    	   addCriterion("mapcode", value, ConditionMode.FUZZY, "mapcode", "java.lang.String", "String");
    	   return this;
      }

      public AuthOrganizationCriteria andMapcodeNotLike(java.lang.String value) {
          addCriterion("mapcode", value, ConditionMode.NOT_FUZZY, "mapcode", "java.lang.String", "String");
          return this;
      }
      public AuthOrganizationCriteria andMapcodeEqualTo(java.lang.String value) {
          addCriterion("mapcode", value, ConditionMode.EQUAL, "mapcode", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andMapcodeNotEqualTo(java.lang.String value) {
          addCriterion("mapcode", value, ConditionMode.NOT_EQUAL, "mapcode", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andMapcodeGreaterThan(java.lang.String value) {
          addCriterion("mapcode", value, ConditionMode.GREATER_THEN, "mapcode", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andMapcodeGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("mapcode", value, ConditionMode.GREATER_EQUAL, "mapcode", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andMapcodeLessThan(java.lang.String value) {
          addCriterion("mapcode", value, ConditionMode.LESS_THEN, "mapcode", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andMapcodeLessThanOrEqualTo(java.lang.String value) {
          addCriterion("mapcode", value, ConditionMode.LESS_EQUAL, "mapcode", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andMapcodeBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("mapcode", value1, value2, ConditionMode.BETWEEN, "mapcode", "java.lang.String", "String");
    	  return this;
      }

      public AuthOrganizationCriteria andMapcodeNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("mapcode", value1, value2, ConditionMode.NOT_BETWEEN, "mapcode", "java.lang.String", "String");
          return this;
      }
        
      public AuthOrganizationCriteria andMapcodeIn(List<java.lang.String> values) {
          addCriterion("mapcode", values, ConditionMode.IN, "mapcode", "java.lang.String", "String");
          return this;
      }

      public AuthOrganizationCriteria andMapcodeNotIn(List<java.lang.String> values) {
          addCriterion("mapcode", values, ConditionMode.NOT_IN, "mapcode", "java.lang.String", "String");
          return this;
      }
}